package com.school.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.school.entity.HljtSchoolimage;

public interface HljtSchoolimageService {

	/**
	 * 
	 * 查询所有班级视频
	 * @return
	 */
	List<HljtSchoolimage> selectAllSchoolImage(int start,int size);
	/**
	 * 
	 * 根据类型查询班级视频
	 * @return
	 */
	List<HljtSchoolimage>  selectSchoolImageByType(String strType);
	/**
	 * 
	 * 根据ID 查询班级视频
	 * @return
	 */
	HljtSchoolimage selectHljtSchoolImageById(String strID);
	/**
	 * 
	 * 添加班级视频
	 * @return
	 */
	int insertHljtSchoolImage(HljtSchoolimage oHljtSchoolimage);
	/**
	 * 
	 * 修改班级视频
	 * @return
	 */
	int updateHljtSchoolImageById(HljtSchoolimage oHljtSchoolimage);
	/**
	 * 
	 * 删除班级视频
	 * @return
	 */
	int deleteHljtSchoolImageById(String strID);
	
	/**
	 * 根据id删除一条数据
	 * @param id
	 * @return
	 */
	Integer deleteSchoolImage(Integer id);
	/**
	 * 根据id查找对应一条数据
	 * @param id
	 * @return
	 */
	HljtSchoolimage findSchoolImage(Integer id);
	
	/**
	 * 修改一条数据
	 * @param hljtSchoolimage
	 * @return
	 */
	Integer updateSchoolImage(HljtSchoolimage hljtSchoolimage);
	/**
	 * 添加一条数据
	 * @param hljtSchoolimage
	 * @return
	 */
	Integer addSchoolImage(HljtSchoolimage hljtSchoolimage);
	
	/**
	 * 根据样式查找说有信息或者模糊查询
	 * @param type
	 * @param title
	 * @return
	 */
	List<HljtSchoolimage> schoolimageList(String type,String title);
	
	/**
	 * 根据样式查找说有信息或者模糊查询
	 * @param type
	 * @param title
	 * @return
	 */
	List<HljtSchoolimage> schoolimageListPage(String type,String title,Integer pageSize,Integer  pageIndex);
	/**
	 * 修改一条数据的信息
	 * @return
	 */
	Integer updateschoolimage(HljtSchoolimage hljtschoolimage);
	/**
	 * @param type
	 * @return
	 */
	Integer deleteimage(Integer type);
}
